package cn.tedu.spring.auto;

import org.springframework.context.annotation.AnnotationConfigApplicationContext;

// 测试类
public class TestUserCache {
    public static void main(String[] args) {
        AnnotationConfigApplicationContext acac = new AnnotationConfigApplicationContext("cn/tedu/spring/auto");
        UserCache userCache = acac.getBean(UserCache.class);
        System.out.println("userCache = " + userCache);
    }
}
